package edu.utility.Entities;

import static org.junit.Assert.*;
import junit.framework.TestCase;

import org.junit.Test;

import edu.utility.Gui.LogInPanel;
import edu.utility.Gui.MyFrame;

public class UtilityTests extends TestCase{
	Network network;
	@Test
	public void test() {
		LogInPanel login = new LogInPanel(new MyFrame());
		User u = login.validateLogIn("sgalka91@gmail.com", "password");
		
		assertTrue(u.getEmail().equals("sgalka91@gmail.com"));
		assertTrue(u.getPassword().equals("password"));
		assertEquals(7000, u.getPort());
		assertTrue(u.isStreamAudio());
		assertTrue(u.isStreamMovies());
		assertTrue(u.isStreamPictures());
		
	}

}
